<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <title>用户注册</title>
    <style>
        body {
            font-family: Arial, sans-serif;
            background-color: #f4f7f9;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            min-height: 100vh;
            margin: 0;
            padding: 20px;
        }

        .logo {
            color: #165DFF;
            font-size: 28px;
            font-weight: bold;
            margin-bottom: 20px;
        }

        .card {
            background-color: #fff;
            padding: 40px;
            border-radius: 10px;
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
            width: 100%;
            max-width: 400px;
            box-sizing: border-box;
        }

        h1 {
            color: #165DFF;
            text-align: center;
            margin-top: 0;
            margin-bottom: 30px;
            font-size: 24px;
        }

        form {
            display: flex;
            flex-direction: column;
        }

        input[type="text"],
        input[type="tel"],
        input[type="password"] {
            width: 100%;
            padding: 14px;
            margin-bottom: 20px;
            border: 1px solid #ddd;
            border-radius: 6px;
            box-sizing: border-box;
            font-size: 16px;
            transition: border-color 0.3s;
        }

        input[type="text"]:focus,
        input[type="tel"]:focus,
        input[type="password"]:focus {
            border-color: #165DFF;
            outline: none;
        }

        input[type="submit"] {
            width: 100%;
            padding: 14px;
            background-color: #165DFF;
            color: white;
            border: none;
            border-radius: 6px;
            cursor: pointer;
            font-size: 18px;
            font-weight: 500;
            transition: background-color 0.3s;
            margin-top: 10px;
        }

        input[type="submit"]:hover {
            background-color: #0047D9;
        }

        .login-link {
            text-align: center;
            margin-top: 20px;
            font-size: 14px;
            color: #666;
        }

        .login-link a {
            color: #165DFF;
            text-decoration: none;
            font-weight: 500;
        }

        .login-link a:hover {
            text-decoration: underline;
        }

        /* 新增提示信息样式 */
        .register-tip {
            margin-top: 20px;
            font-size: 12px;
            color: #666;
            text-align: center;
        }
    </style>
</head>
<body>
    <div class="logo">安心银行</div>
    <div class="card">
        <h1>用户注册</h1>
        <form action="/register" method="post">
            <input type="text" id="register-username" name="register-username" placeholder="请输入用户名">
            <input type="tel" id="register-phone" name="register-phone" placeholder="请输入手机号">
            <input type="text" id="register-idcard" name="register-idcard" placeholder="请输入身份证">
            <input type="text" id="register-address" name="register-address" placeholder="请输入居住地">
            <input type="password" id="register-password" name="register-password" placeholder="请输入密码(大于六位)">
            <input type="password" id="register-confirm-password" name="register-confirm-password" placeholder="请再次输入密码">
            <input type="submit" value="注册">
        </form>
        <!-- 新增提示信息 -->
        <div class="register-tip">
            注册既默认同意自动开卡，且向卡中存10RMB，初始卡密码为888888，注册后请立即更改！
        </div>
        <div>
            已有账号？<a href="/">返回登录</a>
        </div>
    </div>
</body>
</html>